/*
package NiuKe;

import java.util.Scanner;

*/
/**
 * @Description:
 * @Author: Hanzao
 * @Date: 2022/06/13/19:51
 *//*

public class HJ21 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String s = scanner.nextLine();
        Character tmp = 'a';
        int num = 0;
        for(int i=0;i<s.length();i++){
            tmp = s.charAt(i);
            if(tmp>='A'&&tmp<'Z'){
                num = tmp+32+1;
                System.out.print((char)num);
            }
            else if(tmp == 'Z'){
                System.out.print('a');
            }
            else if(tmp=='a'||tmp=='b'||tmp=='c'){
                System.out.print('2');
            }
            else if(tmp=='d'||tmp=='e'||tmp=='f'){
                System.out.print('3');
            }
            else if(tmp=='g'||tmp=='h'||tmp=='i'){
                System.out.print('4');
            }
            else if(tmp=='j'||tmp=='k'||tmp=='l'){
                System.out.print('5');
            }
            else if(tmp=='m'||tmp=='n'||tmp=='o'){
                System.out.print('6');
            }
            else if(tmp=='p'||tmp=='q'||tmp=='r'||tmp=='s'){
                System.out.print('7');
            }
            else if(tmp=='t'||tmp=='u'||tmp=='v'){
                System.out.print('8');
            }
            else if(tmp=='w'||tmp=='x'||tmp=='y'||tmp=='z'){
                System.out.print('9');
            }
            else {
                System.out.print(tmp);
            }
        }
    }
}
*/
